<?php if(is_array($this->banner)) {
	foreach($this->banner as $banner) :
        if($banner['video']) {?>
        <iframe width="<?php echo $banner['width']?>" height="<?php echo $banner['height']?>"
			src="<?php echo $banner['link']?>" frameborder="0"
			allowfullscreen></iframe>
    <?php } elseif($banner['flash']) {?>
         <embed src="<?php echo $banner['link']; ?>" 
                    height="<?php echo $banner['height'];?>" align="middle" 
                    width="<?php echo $banner['width'];?>" 
            pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" 
            allowscriptaccess="always" wmode="opaque" quality="high">
    <?php } else {?>
         <a href="<?php echo $banner['link']?>" target="_blank">
    	    <img src="<?php echo $this->staticUrl . $banner['hash_folder'] . '/' . $banner['image'];?>" 
    			width="<?php echo $banner['width'];?>" height="<?php echo $banner['height'];?>"/>
        </a>
    <?php }?>
<?php endforeach;?>
<?php }?>